import request from '@/router/axios';

export const getList = (page, size, params) => {
  return request({
    url: '/base/sellerComplaint/list',
    method: 'post',
    params: {
      ...params,
      page,
      size,
    }
  })
}
export const detail = (id) => {
    return request({
        url: '/base/sellerComplaint/detail',
        method: 'post',
        params: {
            id
        }
    })
}
export const replyComplaint = (row) => {
    return request({
        url: '/base/sellerComplaint/replyComplaint',
        method: 'post',
        meta: {
            isSerialize: true,
        },
        data: row
    })
}
